package com.pda.xinmazhi.contract;

import com.pda.xinmazhi.bean.LatheMachinBean;
import com.pda.xinmazhi.bean.SurplusDetailBean;
import com.pda.xinmazhi.bean.request.BackConfirmRequest;
import com.pda.xinmazhi.bean.request.SurplusConfirmRequest;
import com.wangshen.base.ui.mvp.base.view.BaseView;

import java.util.List;

import retrofit2.http.Body;
import retrofit2.http.Path;
import retrofit2.http.Query;

public class BackStorageContract {
    public interface Presenter{
        void getSurplusDetail( String latheCode);
        void surplusConfirm(SurplusConfirmRequest body);
        void getLatheListByCenter(String centerCode);
        void backConfirm(BackConfirmRequest body);
    }
    public interface View extends BaseView {
        void setData(SurplusDetailBean surplusDetailBean);
        void onSuccess();
        void setList(List<LatheMachinBean> list);
    }
}
